package com.culture.config.dao.entity;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class User implements Serializable {
	private static final long serialVersionUID = 7868896946195272567L;
	Long id;
	String userName;
	String userPassword;	
	String accessKey;
	Boolean enable;
	String createBy;
	Date createTime;
	String updateBy;
	Date updateTime;
	
	public User(String userName) {
		this.userName = userName;
	}	
	
	public User(Long id, String userName) {
		this.id = id;
		this.userName = userName;		
	}
}
